package gui;

import game.player.Player;

import java.awt.Graphics2D;

public class GameTextLabelPlayerCash extends GameTextLabel {

	public GameTextLabelPlayerCash(int xpos, int ypos, int width, int height) {
		super("", xpos, ypos, width, height);
	}

	@Override
	public void render(Graphics2D g2d) {
		super.render(g2d);
		this.setLabel("Money: " + Player.getInstance().getCash());
	}

}
